package com.aizuda.boot.modules.business.log.domain.response;

import com.aizuda.boot.modules.common.constant.enums.LogTypeEnum;
import com.aizuda.boot.modules.business.permission.domain.response.EmployeeShowVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author sangyirong
 * @ClassName LogShowDTO
 * @Version 1.0
 * @Date 2025/6/5 19:56
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "日志信息")
public class LogShowDTO {

    @Schema(description = "日志ID")
    private Long id;

    @Schema(description = "操作类型")
    private LogTypeEnum eventType;

    @Schema(description = "操作内容")
    private String operationContent;

    @Schema(description = "操作人")
    private EmployeeShowVO operator;

    @Schema(description = "操作时间")
    private Date operationTime;
}
